package com.cskaoyan.mapper;


import com.cskaoyan.bean.Goods;
import com.cskaoyan.bean.GoodsExample;
//<<<<<<< HEAD
import com.cskaoyan.bo.vx.wangdi.GoodsListBo;
//=======
import com.cskaoyan.vo.wx.sl.WxCollectListBean;
//>>>>>>> 3c5da2fe5e0e083d65df803d90ed1f34a1ff7331
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface GoodsMapper {
    long countByExample(GoodsExample example);

    int deleteByExample(GoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Goods record);

    int insertSelective(Goods record);

    List<Goods> selectByExampleWithBLOBs(GoodsExample example);

    List<Goods> selectByExample(GoodsExample example);

    Goods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Goods record, @Param("example") GoodsExample example);

    int updateByExampleWithBLOBs(@Param("record") Goods record, @Param("example") GoodsExample example);

    int updateByExample(@Param("record") Goods record, @Param("example") GoodsExample example);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKeyWithBLOBs(Goods record);

    int updateByPrimaryKey(Goods record);


    int deleteGoods(int id);


    List<GoodsListBo.FilterCategoryListBean> select01(Integer brandId);

    int goodsCount();
    //收藏的商品信息
    WxCollectListBean queryCollectList(Integer valueId);

}